<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>教程_我的网站</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta http-equiv="mobile-agent" content="format=xhtml;url=/m/list.php?tid=15">
    <link rel="stylesheet" href="__PUBLIC__/static/index/css/style.css" type="text/css">
    <script type="text/javascript" src="__PUBLIC__/static/index/js/jquery.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/static/index/js/jquery.SuperSlide.2.1.1.js"></script>
    <script type="text/javascript" src="__PUBLIC__/static/index/js/gotop.js"></script>
    <script src="__PUBLIC__/static/index/js/share.js"></script><link rel="stylesheet" href="__PUBLIC__/static/index/css/share_style1_32.css">
    <style type="text/css">
        .pagination p{
            margin:0;
            cursor:pointer
        }
        .pagination{
            height:40px;
            padding:20px 0px;
        }
        .pagination .active span{
            background-color: #00b156;
            color: #fff;
        }
        .pagination .disabled span{
            border:1px solid #E0E0E0;
            color: #E0E0E0;
        }
        .pagination a,.pagination span{
            display:block;
            float:left;
            margin-right:10px;
            padding:2px 12px;
            height:24px;
            border:1px #cccccc solid;
            background:#fff;
            text-decoration:none;
            color:#808080;
            font-size:12px;
            line-height:24px;
        }
        .pagination a:hover{
            color:#077ee3;
            background: white;
            border:1px #077ee3 solid;
        }
        .pagination a.cur{
            border:none;
            background:#077ee3;
            color:#fff;
        }
        .pagination p{
            float:left;
            padding:2px 12px;
            font-size:12px;
            height:24px;
            line-height:24px;
            color:#bbb;
            border:1px #ccc solid;
            background:#fcfcfc;
            margin-right:8px;

        }
        .pagination p.pageRemark{
            border-style:none;
            background:none;
            margin-right:0px;
            padding:4px 0px;
            color:#666;
        }
        .pagination p.pageRemark b{
            color:red;
        }
        .pagination p.pageEllipsis{
            border-style:none;
            background:none;
            padding:4px 0px;
            color:#808080;
        }
        .dates li {font-size: 14px;margin:20px 0}
        .dates li span{float:right}
    </style>
</head>
<body>
<div class="head">
    <div class="logo"><a href="http://127.0.0.1/"><img src="__PUBLIC__/static/index/images/logo.jpg" alt="我的网站"></a></div>
    <div class="search">
        <form action="{:URL('index/index/search',['keyword'=>111,'page'=>1])}" name="formsearch">
            <input value="{$keyword??''}" placeholder="请输入关键词" name="keyword" type="text" class="search-keyword keyword fl" id="search-keyword" onfocus="if(this.value==&#39;请输入关键词&#39;){this.value=&#39;&#39;;}" onblur="if(this.value==&#39;&#39;){this.value=&#39;请输入关键词&#39;;}">
            <button type="button" class="search-submit fl">搜 索</button>
        </form>
    </div>
</div>

<div class="nav">
    <ul>
        <li><a href="{:URL('index')}">首页</a></li>
        <li><a href="#" rel="dropmenu25">找代驾</a></li>
        <li><a href="/djgs" >代驾公司</a></li>
        <li><a href="/fws" >代驾服务商</a></li>
        <li><a href="/jsc" >代驾市场</a></li>
    </ul>
</div>
<div class="ban_1001"><a href="{$ads['search_top'][0]['url']??''}" target="_blank"><img src="{$ads['search_top'][0]['content']??''}" alt="{$ads['search_top'][0]['name']??''}"></a></div>
<div class="weizhi">您的当前位置：<a href="http://127.0.0.1/">主页</a> &gt; <a href="http://127.0.0.1/a/jiaocheng/">教程</a></div>
<div class="main1">

    <div class="left_1">
        <div class="g_list">
            <div class="t_4"><h3>平面设计</h3></div>
            <ul class="list2">
                {volist name='list' id='v'}
                <li>
                    <a href="{:URL('index/index/detail',['id'=>$v['id']])}"><img src="{$v['cover']}" alt="{$v['name']}"></a>
                    <h3><a href="{:URL('index/index/detail',['id'=>$v['id']])}">{$v['name']}</a></h3>
                    <p>{$v['desc']??''}...</p>
                    <span>{$v['create_time']}</span>
                </li>
                {/volist}
            </ul>
            <div class="" style="text-align: right">
                {$list->render()}
            </div>
        </div>
    </div>
    <div class="right_1">
        <div class="g_box2 u_2">
            <div class="t_1">栏目分类</div>
            <ul class="menu">
                {foreach $categorys as $k => $v}
                <li><a href="{:URL('index/index/articlelist',['categoryid'=>$v['id'],'page'=>1])}">{$v['name']}</a></li>
                {/foreach}

                <div class="clear"></div>
            </ul>
        </div>
        <div class="ban_251"><a href="{$ads['search_center'][0]['url']??''}" target="_blank"><img src="{$ads['search_center'][0]['content']??''}" height="250" width="250" alt="{$ads['search_center'][0]['name']??''}"></a></div>
        <div class="g_box2 u_2">
            <div class="t_1">最新文章</div>
            <ul class="b_box3 u_1">
                {foreach $new_articles as $k => $v}
                <li><em>[<a href="{:URL('index/index/articlelist',['categoryid'=>$v['id'],'page'=>1])}">{$v['category_name']}</a>]</em><a href="{:URL('index/index/detail',['id'=>$v['id']])}">{$v['name']}</a></li>
                {/foreach}
            </ul>
        </div>
        <div class="ban_251"><a href="{$ads['search_center'][0]['url']??''}" target="_blank"><img src="{$ads['search_center'][0]['content']??''}" height="250" width="250" alt="{$ads['search_center'][0]['name']??''}"></a></div>
        <div class="g_box2 u_2">
            <div class="t_1">热门文章</div>
            <ul class="b_box1">
                {foreach $hot_articles as $k => $v}
                <li><em>[<a href="{:URL('index/index/articlelist',['categoryid'=>$v['id'],'page'=>1])}">{$v['category_name']}</a>]</em><a href="{:URL('index/index/detail',['id'=>$v['id']])}">{$v['name']}</a></li>
                {/foreach}
            </ul>
        </div>
        <div class="ban_251"><a href="{$ads['search_center'][0]['url']??''}" target="_blank"><img src="{$ads['search_center'][0]['content']??''}" height="250" width="250" alt="{$ads['search_center'][0]['name']??''}"></a></div>
    </div>
    <div class="clear"></div>
</div>
<div class="ban_1001"><a href="{$ads['search_button'][0]['url']??''}" target="_blank"><img src="{$ads['search_button'][0]['content']??''}" alt="{$ads['search_button'][0]['name']??''}"></a></div>
<div class="foot">
    <p><a href="http://www.mobantianxia.com/" target="_blank">模板天下</a> www.mobantianxia.com 联系QQ：498872301 邮箱：498872301@qq.com</p>
    <p>Copyright © 2002-2011 . 版权所有 Power by </p>
</div>
<a href="http://127.0.0.1/a/jiaocheng/#0" class="cd-top">Top</a>

<script type="text/javascript">
    $(function(){
        $('.search-submit').click(function(){
            var keyword = $(".keyword").val();

            var url = "{:URL('index/index/search',['keyword'=>'KEYWORD','page'=>1])}";
            url = url.replace('KEYWORD',keyword);
            window.location.href= url;
        });
    });


</script>

</body>
</html>